import 'package:flutter/material.dart';

class FeatureAbsentPage extends StatelessWidget {
  final String titleText;
  final String promptText;

  const FeatureAbsentPage({
    Key? key,
    this.titleText = "未实现功能",
    this.promptText = "敬请期待...",
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(titleText),
      ),
      body: Center(
        child: Text(
          promptText,
          style: Theme.of(context).textTheme.headline5,
        ),
      ),
    );
  }
}
